"""
求 1-100 的和
"""
sum_temp = 0
num = 1
while num <= 100:
    sum_temp += num
    num += 1
print("1-100的和是:", sum_temp)